function rts = findRoots(p)
    global m

    rts = [];
    for i = 1 : 2^m
        px = polyPlugIn(p,i-2);
        if px == -1
            rts = [rts i-2];
        end
    end

end
